home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / modulog / modulog.man < prev   
Encoding:
Text File  |  1988-12-30  |  2.0 KB  |  54 lines

  1. ' $Header: /a/newcmds/modulog/RCS/modulog.man,v 1.3 88/12/30 09:59:40 ouster Exp $ SPRITE (Berkeley)
  2. .so \*(]ltmac.sprite
  3. .HS MODULOG cmds
  4. .BS
  5. .SH NAME
  6. modulog \- Modify the user log
  7. .SH SYNOPSIS
  8. \fBmodulog\fR [\fIoptions\fR]
  9. .SH OPTIONS
  10. .IP "\fB\-help\fR" 15
  11. Print a summary of the command-line options and exit.
  12. .IP "\fB\-C\fR"
  13. Clear all login entries for the current host.
  14. .IP "\fB\-p \fIport\fR"
  15. Port number to use when recording or invalidating a login.
  16. .IP "\fB\-i\fR"
  17. Invalidate the login entry for the current host on the specified port.
  18. .IP "\fB\-u \fIuser\f"
  19. User for whom to create a login entry.  (Defaults to current user.)
  20. .IP "\fB\-l \fIlocation\fR"
  21. Generate a new login entry, with the user's location specified by this
  22. argument. 
  23. .BE
  24.  
  25. .SH INTRODUCTION
  26. .PP
  27. This program allows modification of the user log.  The caller must
  28. have write-access to the log database files.  \fBModulog\fR is typically
  29. used at boot time to invalidate old login entries.  It can also be
  30. used to invalidate particular entries for the host on which it is
  31. invoked, or create new ones.
  32. .PP
  33. If the \fB\-C\fR switch is given, then \fBmodulog\fR will invalidate login
  34. entries.  Otherwise, if the \fB\-i\fR and \fB\-p\fP switches are given,
  35. \fBmodulog\fR will invalidate only the entry corresponding to the port
  36. specified by the \fB\-p\fP switch.   Finally, if the \fB-p\fP,
  37. and \fB-l\fP switches are used together, a new login
  38. entry will be recorded, as if \fIuser\fP logged in from \fIlocation\fP
  39. on /hosts/`hostname`/dev/rlogin\fIport\fP at the time \fBmodulog\fR is run.
  40. To generate a login record for the console, specify a  \fIport\fP of
  41. 0 and a location of ``''.
  42. \fIUser\fP defaults to the user invoking the \fBmodulog\fR program.
  43. .FILES
  44. .IP /sprite/admin/data/userLog
  45. The database of current logins on each host.
  46. .IP /sprite/admin/data/lastLog
  47. The database of each user's most recent login.
  48. .IP /hosts/`hostname`/dev/rlogin*
  49. Pseudo-devices used by Rlogin, corresponding to ports 1 and beyond.
  50. .SH KEYWORDS
  51. login, user log, modify
  52. .SH SEE ALSO
  53. db, ulog, login, rlogin, rlogind
  54.